package com.health.commons;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

 

public class HiroadDynamicDataSource  extends AbstractRoutingDataSource{
	@Override
	protected Object determineCurrentLookupKey() {
		String dsName = DataSourceContextHolder.getDataSourceName();
		return dsName;
	}
}
